package com.example.job;


import com.dangdang.ddframe.job.api.ShardingContext;
import com.dangdang.ddframe.job.api.simple.SimpleJob;

public class MyElasticJob2 implements SimpleJob {

    @Override
    public void execute(ShardingContext context) {
        System.out.println(Thread.currentThread().getName()+" ==>> Job executed, sharding item: " + context.getShardingItem());
        // Your business logic here
    }
}
